package com.iwomy.secureplat.platform.service;

import com.alibaba.fastjson.JSONObject;
import com.iwomy.secureplat.platform.dto.AlarmFaultLoggingDTO;
import com.iwomy.secureplat.platform.entity.AlarmFaultLoggingEntity;
import com.iwomy.secureplat.platform.vo.*;

import java.util.List;
import java.util.Map;

public interface ScreenDataService {

	//设备显示数
	ScreenDataVO getScreenDevice();

	//今日报警和故障数
	ScreenDataVO getTodayAlarmAndFault();

	//未处理报警
	List<ScreenDataVO> getUnprocessedAlarm();

	//未处理故障
	List<ScreenDataVO> getUnprocessedFault();

	//地图图标
	List<ScreenMapPointVO> mapPoint();

	List<ScreenDeviceEventReportVO> deviceStateDay();


	List<ScreenDeviceEventReportVO> deviceStateMonth();

	List<ScreenDataVO> productClassification();

	List<ProductRotationVO> productRotation();

	Map<String, Long> faultCauseStatistics(AlarmFaultLoggingEntity alarmFaultLogging);


	Map<String, Long> alarmAcknowledgement();

	HomePageDataVO deviceInstallCount();

	JSONObject homeAlarmConfirmationType();

	/**
	 * 设备异常统计
	 * @abnormalStatistics
	 */
	JSONObject abnormalStatistics();
}
